//
//  ZBAlert.h
//  ZBDay
//
//  Created by xzb on 2018/2/28.
//  Copyright © 2018年 xzb. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void(^ZBAlertHandleBlcok)(NSInteger index);
typedef void(^ZBInputAlertHandleBlock)(NSString *text);

@interface ZBAlert : NSObject

+ (void)alertWithMessage:(NSString *)message;

/**
 * @items : @"H_":代表高亮;@"D_":代表不可用;其余默认
 */
+ (void)alertWithMessage:(NSString *)message items:(NSArray <NSString *> *)items completion:(ZBAlertHandleBlcok)completion;


+ (NSMutableArray *)itemsForStrItems:(NSArray <NSString *> *)items completion:(ZBAlertHandleBlcok)completion;


+ (void)inputAlertWithMessage:(NSString *)message placeholder:(NSString *)placeholder complete:(ZBInputAlertHandleBlock)complete;

@end
